﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Compiler.TableOfSymbols.Types
{
    public class GenericType : ConstructedGenericType
    {
        public GenericType(string name, GenericTypeDefinition definition)
            : base(name, definition) 
        { }

        public override bool IsGenericType
        {
            get { return true; }
        }

        public override bool IsGenericVarType
        {
            get { return false; }
        }

        public override string ToString()
        {
            return "generic_type[" + Name + "]";
        }
    }
}
